﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DVK.SP2007.Constants;
using System.Web.Caching;

namespace DVK.SP2007
{
    /// <summary>
    /// Simple CacheProvider, which returns HttpRuntime.Cache. 
    /// This should work for both ASP.NET and other.
    /// </summary>
    public class CacheProvider
    {
        /// <summary>
        /// Gets the cache.
        /// </summary>
        /// <returns></returns>
        public Cache GetCache()
        {
            return HttpRuntime.Cache;
        }
    }
}
